const crypto = require('crypto')
const md5 = function (password) {
  const md5Obj = crypto.createHash("md5");
  const result = md5Obj.update(password).digest('hex');
  return result;
}
module.exports = md5